/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(function() {


document.getElementById("divloadpublications").style.height  = "auto";// (document.documentElement.clientHeight-50) + "px";

//document.getElementById("divloadpublications").style.width  = (document.documentElement.clientWidth-237) + "px";



});
$(window).resize(function() {
document.getElementById("divloadpublications").style.height  = "auto"; //(document.documentElement.clientHeight-50) + "px";
//document.getElementById("divloadpublications").style.width  = (document.documentElement.clientWidth-220) + "px";
});


function loadResearchList(tabVal)
 {
     // showTabs flag determines to show/hide tabs
     // 1 ==> TRUE, 0 ==> FALSE
     var $url = "http://"+location.hostname+"/publication/loadpublications?tid=" + tabVal + "&showTabs=" + 0;

    $.post($url, {}, function(data) {
        $('#divloadpublications').html( data);
    });
 }
